/*
 * Observer.c
 *
 *  Created on: 19.01.2013
 *      Author: phru
 */
#include <stdlib.h>
#include <stdio.h>
#include "Observer.h"

/**
 * Update status of observer
 */
void updateObserver(uint8_t id){
	printf("Called observer %d\n", id);
}

/**
 * Create new observer
 */
Observer_t* createObserver(){
	Observer_t* observer = malloc(sizeof(Observer_t*));
	observer->updateObserver = updateObserver;
	return observer;
}
